﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AddModule.aspx.vb" Inherits="Training.AddModule" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Training - Training:: Add Module</title>
<link rel="Stylesheet" type="text/css" media="screen" href="../css/adminStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="ctr">
        <h2>Add A Module</h2>
        
        <p><asp:Label ID="lblMsg" runat="server" Text="" CssClass="Alert"></asp:Label></p>
        
        <div style="width:750px;text-align:left;margin:0 auto;" 
            class="text" id="main" runat="server">
            <p>A module is a group of quizzes and media. 
            A module can be assigned to a group to determine  
            what quizzes and media are presented to users in 
            that group. Use the form below to create a new module.</p>
            
            <p>Module Name: <asp:TextBox ID="tbMName" 
                runat="server" CssClass="formfield" Width="200px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfMName" runat="server" 
            ErrorMessage="required" ControlToValidate="tbMName" 
            CssClass="small" Display="Dynamic"></asp:RequiredFieldValidator>
            </p>
            
            <p>Select Quizzes and Media to add to module. (Control click to select more 
            than one item in listbox)</p>
            <div class="row">
                <div class="half">
                    <h3>Quizzes</h3>
                    
                    <asp:ListBox ID="lbQuiz" runat="server" CssClass="formfield" Rows="8" 
                        SelectionMode="Multiple" Width="250px"></asp:ListBox>
                </div>
                <div class="half">
                    <h3>Media</h3>
                    
                    <asp:ListBox ID="lbVideo" runat="server" CssClass="formfield" Rows="8" 
                        SelectionMode="Multiple" Width="250px"></asp:ListBox>
                </div>
                <div class="clr"></div>
            </div>
        </div>
        <br />
        <asp:Button ID="btnAdd" runat="server" Text="Add Module" CssClass="button" />
        <br />
        <asp:Button ID="btnFile" runat="server" Text="Add File" CausesValidation="false" CssClass="button" />
        
        <!-- response div -->
        <div class="ctr" id="resp" runat="server" visible="false">
            <asp:Label ID="lblResponse" runat="server" Text="" CssClass="Alert"></asp:Label>
        </div>
        
        <br />
        <p><a href="Default.aspx">Admin Main</a></p>
    </div>
    </form>
</body>
</html>
